package com.imooc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @description:
 * @author: 余希瑶
 * @date: 2021年05月09日 15:43
 * @version:1.0
 */
@SpringBootApplication
// 扫描 mybatis 通用 mapper 所在的包
@MapperScan(basePackages = "com.imooc.mapper")
// 扫描所有包以及相关组件包
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
